package com.appbee.defaultadminapp.client;

import javax.inject.Inject;

import com.appbee.adminshell.client.AdminApplicationWrapper;
import com.appbee.core.client.nav.SimpleNav;
import com.appbee.core.client.nav.SimpleNavRegistry;
import com.appbee.gdata.picasaadmin.client.PicasaActivityModul;

public class DefaultAdminApp extends AdminApplicationWrapper
{
	@Inject
	public DefaultAdminApp(	PicasaActivityModul picasaActivityModul,
						SimpleNavRegistry navRegistry)
	{
		picasaActivityModul.register();

		SimpleNav nav = new SimpleNav();
		nav.setName("Picasa settings");
		nav.setPath("picasa");
		nav.setModul(picasaActivityModul);
		navRegistry.add(nav);
	}
}
